package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Menu;
import com.itheima.health.pojo.Permission;

import java.util.List;

/*
 *菜单service
 */
public interface MenuService {


    List<Menu> findByUserId(Integer id);

    PageResult findPage(QueryPageBean queryPageBean);

    boolean add(Menu menu);

    Menu findById(Integer id);

    boolean update(Menu menu);

    boolean deleteById(Integer id);
}
